package com.tinyseed.emcp.api.basicdata.transfer;

import com.tinyseed.emcp.api.basicdata.domain.Monitor;
import com.tinyseed.emcp.api.basicdata.model.MonitorInputDTO;
import com.tinyseed.emcp.api.basicdata.model.MonitorOutputDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/***
 * @ClassName: MonitorMapper
 * @Description: TODO
 * @Auther: Harlan.Xiong
 * @Date: 2019-11-27 23:02
 * @version : V1.0
 */
@Mapper
public interface MonitorMapper {
    MonitorMapper INSTANCE = Mappers.getMapper(MonitorMapper.class);

    Monitor mapOut2Model(MonitorOutputDTO monitorOutputDTO);

    Monitor mapIn2Model(MonitorInputDTO monitorInputDTO);

    MonitorOutputDTO mapModel2OutPut(Monitor monitor);
}
